package baptizeattribute.pojo;

import com.google.common.collect.Lists;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;

import java.util.List;

public class Item {
    private ItemStack item;
    /**
     * 获得洗炼道具
     * @return
     */
    public static ItemStack getNewItem()
    {
        List<String> lore = Lists.newArrayList();
        ItemStack potion = new ItemStack(403);
        ItemMeta Mpotion = potion.getItemMeta();
        lore.add("");
        lore.add("§6[级别]  §d神器");
        lore.add("§6[类型]  §a消耗品");
        lore.add("§6[功能]  §a用于洗炼装备");
        Mpotion.setDisplayName("§d洗炼书");
        Mpotion.setLore(lore);
        potion.setItemMeta(Mpotion);
        return potion;
    }

    public Item() {
    }

    public Item(ItemStack item) {
        this.item = item;
    }

    public ItemStack getItem() {
        return item;
    }

    public void setItem(ItemStack item) {
        this.item = item;
    }
}
